package com.hfy.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @ author 韩
 * time: 2024/9/25 15:13
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class NoticeVo {
    private Integer id;
    private String avatar;
    private String username;
    /** 别人评论的我的评论的内容 */
    private String content;
    /** 我的评论内容是被别人评论的 */
    private String comment;
    private String albumCover;
    private String musicName;
    private String musician;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy年MM月dd日 HH:mm")
    private LocalDateTime time;
}

